//限制文件大小  size单位为M
export const checkLimitSize = (oFile, size) => {
	var iFileSizeKB = parseFloat(oFile.size / 1024);
	var iMaxSize = Number(size) * 1024;
	return iFileSizeKB < iMaxSize;
};
